.app {
  min-height: 100vh;
  background: #f5f5f5;
}

.xpath-locator {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
}

.xpath-locator .ant-card {
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.candidate-item {
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  padding: 16px;
  margin-bottom: 12px;
  background: #fff;
}

.candidate-item.status-pass {
  border-color: #52c41a;
  background: #f6ffed;
}

.candidate-item.status-warn {
  border-color: #faad14;
  background: #fffbe6;
}

.candidate-item.status-fail {
  border-color: #ff4d4f;
  background: #fff2f0;
}

.candidate-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.candidate-strategy {
  font-weight: 600;
  color: #1890ff;
}

.candidate-status {
  display: flex;
  align-items: center;
  gap: 8px;
}

.code-block {
  background: #f5f5f5;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  padding: 8px 12px;
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
  font-size: 13px;
  margin: 8px 0;
  word-break: break-all;
}

.original-node {
  max-height: 300px;
  overflow-y: auto;
  background: #fafafa;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  padding: 12px;
}

.loading-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px;
}
